@media screen and (max-height: 600px){  
	#logo {
		margin: 2.5rem auto;
	}
} 
@media screen and (min-height: 601px){  
	#logo {
		margin: 7.63rem auto 2.5rem;
	}
} 

#logo {
	height: 7.5rem;
	width: 10.5rem;
	background-image: url(../../../images/logo.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	-moz-background-size: 100% 100%;
}

#login {
	margin: auto;
	width: 25rem;
	height: 33.13rem;
	border: 1px #DDD solid;
}

#active_img {
	margin: 2.13rem auto 2.06rem;
	width: 11.88rem;
	height: 11.88rem;
	border-radius: 50%;
	background-image: url(../../../images/example1.jpg);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	-moz-background-size: 100% 100%;
}

#reg_btn, #login_btn {
	height: 2.75rem;
	width: 21.56rem;
	border-radius: 0.31rem;
	font-size: 1rem;
	text-align: center;
	color: #fff;
	line-height: 2.75rem;
	cursor: pointer;
}

#login_btn {
	margin: auto;
	background: #C41305;
}
#login_btn:hover {
	background: #932226;
	animation: btnlogin 0.5s ease-in-out -0.5s infinite alternate;
    -moz-animation: btnlogin 0.5s ease-in-out -0.5s infinite alternate;
    -webkit-animation: btnlogin 0.5s ease-in-out -0.5s infinite alternate;
    -o-animation: btnlogin 0.5s ease-in-out -0.5s infinite alternate;
}


#reg_btn {
	margin: 1.13rem auto 1.88rem;
	background: #EA9792;
}
#reg_btn:hover {
	background: #cc8682;
}

#other_line {
	position: relative;
}

#other_word {
	position: relative;
	width: 8rem;
	height: 1.13rem;
	font-size: 0.81rem;
	font-family: PingFangSC-Regular;
	color: #BBB;
	margin: auto;
	text-align: center;
	letter-spacing: 0;
	background: #fff;
}

#line {
	position: absolute;
	height: 1px;
	width: 19.16rem;
	top: 0.52rem;
	background-color: #ddd;
	left: 2.94rem;
}
@keyframes btnlogin {
    from {background:#932226;}
	to {background:#de3f45;}
}
@-moz-keyframes btnlogin
	from {background:#932226;}
	to {background:#de3f45;}
}
@-webkit-keyframes btnlogin
	from {background:#932226;}
	to {background:#de3f45;}
}
@-o-keyframes btnlogin
	from {background:#932226;}
	to {background:#de3f45;}
}
